package com.hzhq.contract.bean.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @author: hzhq1255
 * @mail: hzhq1255@163.com
 * @date: 2021/4/13 15:54
 * @desc:
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "CompanyDTO", description = "公司信息")
public class CompanyDTO {
    @ApiModelProperty(value = "id")
    private ObjectId companyId;
    @ApiModelProperty(value = "公司名称")
    private String companyName;
    @ApiModelProperty(value = "公司地址")
    private String address;
    @ApiModelProperty(value = "公司类型")
    private String type;
    @ApiModelProperty(value = "公司电话")
    private String phone;
    @ApiModelProperty(value = "公司邮箱")
    private String email;
    @ApiModelProperty(value = "是否被删除")
    private Integer deleted;
}
